﻿CREATE TABLE [dbo].[TempSpaces]
(
	[Id] INT UNIQUE IDENTITY(1,1) NOT NULL,
	[StoreId] [smallint] NULL,
	[StoreCode] [varchar](50) NOT NULL,
	[StoreName] [varchar](200) NULL,
	[ArticleId] [int] NULL,
	[PlanogramId] [int] NULL, --Si el planograma tiene el mismo nombre que uno existente para el mismo pais entonces lo completo
	[Planogram] varchar(255) NOT NULL,
	[ArticleCode] varchar(20) NOT NULL,
	[UOM] varchar(50) NOT NULL,
	[ArticleName] varchar(200) NULL,
	[MC] varchar(50) NULL,
	[Category] varchar(100) NULL,
	[Facings] [int] NULL,
	[Width] [smallmoney] NOT NULL
)
